public static void Save(
string fileName,
BarcodeData[] data
)
public:
static void Save(
String^ fileName,
array<BarcodeData^>^ data
)
fileName
Name of the XML file to create
data
An array of BarcodeData objects to save.
The load/save methods are provided as helper methods for the user. The BarcodeEngine, BarcodeReader and BarcodeWriter do not use these methods internally. data can be null (Nothing in VB). This is the equivalent of saving an empty array.
To load the data previously saved into an XML file, use BarcodeData.Load(string fileName).
To save and load data to an XML stream, use BarcodeData.Save(Stream stream, BarcodeData[] data) and BarcodeData.Load(Stream stream).
This example reads all the barcodes in an image, saves the data to an XML disk file. It will then load the data from this XML and print out the values.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document